package com.fun.demo.fun;


import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.time.Duration;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

public class mapdemo {
    public static void main(String[] args) {
       /* String line = "";
        String macAddress = "";
        final String MAC_ADDRESS_PREFIX = "MAC ";
        final String LOOPBACK_ADDRESS = "127.0.0.1";
        try {
            String cmd = "nbtstat -A ";

            LocalDateTime start = LocalDateTime.now();
              //  cmd = "nmblookup -A ";
            Process p = Runtime.getRuntime().exec(cmd + "192.168.0.81");
            InputStreamReader isr = new InputStreamReader(p.getInputStream());
            BufferedReader br = new BufferedReader(isr);
            while ((line = br.readLine()) != null) {
                if (line != null && !"".equals(line.trim())) {
                    if (line.indexOf(MAC_ADDRESS_PREFIX) != -1 && line.indexOf(" = ") != -1) {
                        macAddress = line.split(" = ")[1].trim().toUpperCase();
                        break;
                    }
                }
            }
            br.close();
            LocalDateTime end = LocalDateTime.now();
            System.out.println(Duration.between(end , start).toMillis());
           // System.out.println(macAddress);
        } catch (IOException ex) {
            macAddress = "";
           ex.printStackTrace();
        }*/

        List<HashMap> list = (List<HashMap>) null;
        System.out.println(Math.random());

    }
}
